export class TextFormatter {
  titleCase(value: string) {
    return value.replaceAll(/((^|\s)[a-z])/g, (_, c) => c.toUpperCase());
  }
}
